<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin:0;
            padding:20px;
        }
        table {
            border-collapse:collapse;
            width:80%;
            margin:0 auto;/*水平居中*/
        }
        th, td {
            border-collapse: collapse;
            padding:8px;
            text-align:center;/*水平居中*/
            vertical-align: middle;/*垂直居中*/
        }
        th {
            background-color: #f0f0f0;
            font-weight: bold;
        }
        /*图片样式，确保图片在单元格中居中显示*/
        img {
            display:block;
            margin:0 auto;
        }
    </style>
</head>
<body>
    <table>
        <tr>
            <th>序号</th>
            <th>品牌logo</th>
            <th>品牌名称</th>
            <th>企业名称</th>
        </tr>
        <tr>
            <td>1</td>
            <td><img src="E:\JavaWeb\HTML\快速入门\img\R-C.png" alt="华为logo" width="50" height="50"></td>
            <td>华为</td>
            <td>华为技术有限公司</td>
        </tr>
        <tr>
            <td>2</td>
            <td><img src="E:\JavaWeb\HTML\快速入门\img\logo800_1649156557980548.jpg" alt="阿里logo" width="50" height="50"></td>
            <td>阿里</td>
            <td>阿里巴巴集团控股有限公司</td>
        </tr>
    </table>
</body>
</html>